#ifndef __WTP_STATE_H__
#define __WTP_STATE_H__

typedef enum wtp_state_
{
	WTP_STATE_IDLE	= 0,
	WTP_STATE_DISCOVERY,
	WTP_STATE_SULKING,
	WTP_STATE_DTLS_SETUP,
	WTP_STATE_AUTHORIZE,
	WTP_STATE_DTLS_CONNECT,
	WTP_STATE_DTLS_TD,
	WTP_STATE_JOIN,
	WTP_STATE_CONFIGURE,
	WTP_STATE_IMAGE_DATA,
	WTP_STATE_DATA_CHECK,
	WTP_STATE_RUN,
	WTP_STATE_RESET,
	WTP_STATE_DEAD
}wtp_state_t;

wtp_state_t wtp_state_idle();
wtp_state_t wtp_state_discovery();
wtp_state_t wtp_state_sulking();
wtp_state_t wtp_state_dtls_setup();
wtp_state_t wtp_state_authorize();
wtp_state_t wtp_state_dtls_connect();
wtp_state_t wtp_state_dtls_td();
wtp_state_t wtp_state_join();
wtp_state_t wtp_state_configure();
wtp_state_t wtp_state_image_data();
wtp_state_t wtp_state_data_check();
wtp_state_t wtp_state_run();
wtp_state_t wtp_state_reset();
wtp_state_t wtp_state_dead();

#endif /* ~__WTP_STATE_H__ */
